-- GENERATED SPELL FOR [Deviate Stalker] --


function spell0_3634(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(16829,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3634', 623, 1)
end

function Sorts_3634(pUnit, Event)
local choix_sorts_3634 = math.random(0, 0)
if choix_sorts_3634 == 0 then
pUnit:RegisterEvent('spell0_3634', 1, 1)
end
end

function mob3634_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3634', math.random(1500, 3000), 1)
end

function mob3634_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3634_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3634_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3634, 1, 'mob3634_Action')
RegisterUnitEvent(3634, 2, 'mob3634_Leave')
RegisterUnitEvent(3634, 3, 'mob3634_Kill')
RegisterUnitEvent(3634, 4, 'mob3634_Die')
